export function jl3D(a: { x: number; z: number; y: number; },b: { x: number; z: number; y: number; }){
    let re = Math.sqrt((a.x-b.x)**2 + (a.y-b.y)**2 + (a.z-b.z)**2);
    return re;
}
export function jl2D(a: { x: number; z: number;  },b: { x: number; z: number;  }){
    let re = Math.sqrt((a.x-b.x)**2+(a.z-b.z)**2);
    return re;
}